package com.xjmall.dao;

import com.xjmall.pojo.Specifications;

import java.util.List;

public interface SpecificationsMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Specifications record);

    int insertSelective(Specifications record);

    Specifications selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Specifications record);

    int updateByPrimaryKey(Specifications record);
    // 根据商品id查询颜色分类信息
    List<Specifications> selectByProductId(Integer productId);
}